home *** CD-ROM | disk | FTP | other *** search
/ The Perfect PC - Ultimate Utilities / The Perfect PC - The Multimedia Compliment to PC Magazine - Ultimate Utilities (Ziff-Davis)(Volume 4 Number 2)(1996).ISO / zdbench / wb96 / sample.cf_ / sample.cf
Text File  |  1995-11-12  |  8KB  |  228 lines

  1. // This file is a sample custom configuration file that implements
  2. // the Optimization Tips in the Configuration Information dialog.
  3.  
  4. //
  5. // Checking Environment variables.
  6. // ...........................
  7. // Set the focus to the Environment.
  8.  
  9. #focus(Environment)
  10.  
  11. // Read the "TEMP" variable as a string and store the value in ENVVAR.
  12.  
  13. // this construct strips spaces from the string
  14. TEMP = "%s", envvar
  15.  
  16. // If ENVVAR is empty, set NOTE and call NOTIFY to update the Configuration
  17. // Information Window.
  18.  
  19. #if (envvar == "")
  20.     #note("You need to supply a valid directory for the TEMP environment variable in AUTOEXEC.BAT; for example, "SET TEMP = C:\DOS".  You should reboot the PC after making this change.")
  21.     #notify()
  22. #endif
  23.  
  24. //
  25. // Checking entries in WIN.INI
  26. // ...........................
  27. // Set the focus to the WIN.INI file.
  28.  
  29. #focus("win.ini")
  30.  
  31. // Set the topic to the [windows] section of the WIN.INI file.
  32.  
  33. [windows]
  34.  
  35. // Read the "run" entry in the [windows] section as a string and store the
  36. // value in RUNVAR.
  37.  
  38. run = "%s", runvar
  39.  
  40. // If RUNVAR is not empty, set NOTE and call NOTIFY to update the Configuration 
  41. // Information Window.
  42.  
  43. #if (runvar != "")
  44.     #note ("To prevent Windows from loading other tasks, remove all programs from the "run =" entry in the [windows] section of WIN.INI.  After editting WIN.INI, restart Windows and then run the benchmark again.")
  45.     #notify()
  46. #endif
  47.  
  48. // Read the "load" entry in the [windows] section as a string and store the 
  49. // value in LOADVAR.
  50.  
  51. load = "%s", loadvar
  52.  
  53. // If LOADVAR is not empty, set NOTE and call NOTIFY to update the Configuration
  54. // Information Window.
  55.  
  56. #if (loadvar != "")
  57.     #note ("To prevent Windows from loading other tasks, remove all programs from the "load =" entry in the [windows] section of WIN.INI.  After editting WIN.INI, restart Windows and then run the benchmark again.")
  58.     #notify()
  59. #endif
  60.  
  61. //
  62. // Checking entries in SYSTEM.INI
  63. // ..............................
  64. // Set the focus to the SYSTEM.INI file.
  65.  
  66. #focus("system.ini")
  67.  
  68. // Set the topic to the [boot] section of the SYSTEM.INI file.
  69.  
  70. [boot]
  71.  
  72. shell = "%s", shellvar
  73. // If SHELLVAR is not equal to "PROGMAN.EXE" and not equal to "EXPLORER.EXE", set NOTE and call NOTIFY.
  74. #if ((WIN95) && (shellvar != "progman.exe") && (shellvar != "explorer.exe"))
  75.     #note("ZDBOp has only tested WinBench 96 with Windows 95 running the shell programs PROGMAN.EXE and EXPLORER.EXE.")
  76.     #notify()
  77. #endif
  78.  
  79. // If SHELLVAR is not equal to "PROGMAN.EXE", set NOTE and call NOTIFY.
  80. #if ((WIN16 || WFWG) && (shellvar != "progman.exe"))
  81.     #note("ZDBOp has only tested WinBench 96 with Windows 3.x running the shell program PROGMAN.EXE.")
  82.     #notify()
  83. #endif
  84.  
  85. // Check for fixedfon.fon.  Some #9 cards are missing this entry.
  86. fixedfon.fon = "%s", fixedfont
  87. #if (fixedfont == "")
  88.     #note("You are missing font information the display driver should have supplied.  Try reinstalling the display driver.  If the problem persists, call the manufacturer's technical support line.")
  89.     #notify()
  90. #endif
  91.  
  92. // Checking entries in the Disclosure
  93. // ..............................
  94. // Set the focus to the Disclosure.
  95.  
  96. #focus(Disclosure)
  97.  
  98. //-----------------------------------------------
  99. // Check memory
  100. //-----------------------------------------------
  101. #if (WIN16 || WIN95)
  102.     #if (SYSTEMRAM < 8)
  103.     #text("Processor RAM = %d", SYSTEMRAM)
  104.     #note("WinBench 96's tests require a minimum of 8MB of RAM.")
  105.     #notify()
  106.     #endif
  107.     #if (SYSTEMRAM == 8)
  108.     #text("Processor RAM = %d", SYSTEMRAM)
  109.     #note("More memory can significantly increase the PC's performance.")
  110.     #notify()
  111.     #endif
  112. #endif
  113.  
  114. 32-Bit Disk Access = setting
  115. #if ("Off" in setting)
  116.     #note("Your PC will generally perform better if you enable 32-bit disk access. Be sure you have drivers compatible with the PC's disk drive before enabling the 32-Bit disk access option.")
  117.     #notify()
  118. #endif
  119.  
  120. 32-Bit File Access = setting
  121. #if (WFWG && "Off" in setting)
  122.     #note("Your PC will generally perform better if you enable 32-bit file access.")
  123.     #notify()
  124. #endif
  125.  
  126. Disk Settings = setting
  127. #if (WIN95 && ("LastBootPMDrvs=Off" in setting))
  128.     #text("Disk Settings = LastBootPMDrvs=Off")
  129.     #note("Your PC will generally perform better if you use protected mode disk drivers. If possible, remove any real mode drivers in CONFIG.SYS and AUTOEXEC.BAT.  Check the File System Properties in the System Control Panel.")
  130.     #notify()
  131. #endif
  132.  
  133. Disk Settings = setting
  134. #if (WIN95 && ("ForceRealMode=Off" in setting))
  135.     #text("Disk Settings = ForceRealMode=Off")
  136.     #note("Your PC will generally perform better if you use protected mode disk drivers. Check the File System Properties in the System Control Panel.")
  137.     #notify()
  138. #endif
  139.  
  140. OS Software Cache = oscache
  141.  
  142. #if ("SMARTDrive" in oscache)
  143.     #if (WIN95)
  144.     #note("You should remove SMARTDrive from AUTOEXEC.BAT to allow Windows 95's system cache to be most effective.")
  145.     #notify()
  146.     #endif
  147.  
  148.     Windows Software Cache = winCache
  149.     #if ("VFAT Cache" in winCache)
  150.     OS Software Cache Size = "%d KB, Windows: %d KB", dosCacheSize, winCacheSize
  151.     #if (WFWG && (winCacheSize > 256))
  152.          #note("You should reduce the SMARTDrive cache size while Windows for Workgroups is running to 256KB or less.  Windows for Workgroups only uses SMARTDrive to cache CD-ROM and floppy drives.")
  153.          #notify()
  154.     #endif
  155.     #endif
  156. #endif
  157.  
  158. Drive Information = dinfo
  159.  
  160. #if ("D:    CD-ROM Drive" in dinfo)
  161.     OS Software Cache = oscache
  162.     #if ((WIN16 || WFWG) && ("SMARTDrive" in oscache))
  163.     #if ((" D" in oscache) == FALSE || (" D-" in oscache) == TRUE)
  164.         #note("SMARTDrive is not caching the CD-ROM drive.  You should load MSCDEX before SMARTDRV in AUTOEXEC.BAT to allow SMARTDrive to cache CD-ROM drives.")
  165.         #notify()
  166.     #endif
  167.     #endif
  168. #endif
  169.  
  170. #if (WIN16 || WFWG)
  171.     Windows Software Cache = "%s", wincache
  172.     #if (wincache == "None")
  173.     OS Software Cache Size = "%d KB, Windows: %d KB", dosCacheSize, winCacheSize
  174.     #else
  175.     Windows Software Cache Size = "%d", winCacheSize
  176.     #endif
  177.  
  178.     #if (SYSTEMRAM <= 8)
  179.     #if (winCacheSize > 1024)
  180.         #note("A cache size of only 1024KB is recommended on systems with %dMB of RAM.", SYSTEMRAM)
  181.         #notify()
  182.     #endif
  183.     #endif
  184.  
  185.     #if ((SYSTEMRAM > 8) && (SYSTEMRAM < 16))
  186.     #if (winCacheSize > 2048)
  187.         #note("A cache size of only 2048KB is recommended on systems with %dMB of RAM.", SYSTEMRAM)
  188.         #notify()
  189.     #endif
  190.     #endif
  191.  
  192.     #if (SYSTEMRAM == 16)
  193.     #if (winCacheSize > 4096)
  194.         #note("A cache size of only 4096KB is recommended on systems with %dMB of RAM.", SYSTEMRAM)
  195.         #notify()
  196.     #endif
  197.     #endif
  198. #endif
  199.  
  200. OS Software Cache = oscache
  201.  
  202. #if ("SMARTDrive" in oscache)
  203.     #if ((("C-" in oscache) == FALSE) && (("+" in oscache) == FALSE))
  204.     #note("You should enable SMARTDrive's write caching for maximum disk subsystem performance.")
  205.     #notify()
  206.     #endif
  207. #endif
  208.  
  209. Windows Software Cache = wincache
  210.  
  211. #if ("VFAT Cache" in wincache)
  212.     #if (("+" in wincache) == FALSE)
  213.     #note("You should enable write caching for maximum disk subsystem performance. Check the NoLazyWrite value in the [vcache] section of SYSTEM.INI.")
  214.     #notify()
  215.     #endif
  216. #endif
  217.  
  218. #if (WIN95 && "System Cache" in wincache)
  219.     #if (("write caching enabled" in wincache) == FALSE)
  220.     #note("You should enable write caching for maximum disk subsystem performance. Check the File System Properties in the System Control Panel.")
  221.     #notify()
  222.     #endif
  223. #endif
  224.  
  225.  
  226. // End of tips file
  227.  
  228.